package com.isoft.filelistener.dao;

import com.isoft.filelistener.entity.*;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface DfmePokeDao {

    @Insert("insert into TEAM_03.DFME_POKE(SNDR,RCVR,SEQN,DDTM,TYPE,STYP,FLID,FFID,FIDE,FATT,STAT,ISTA,POKT,MSTA,MIST,MPOK) " +
            "values(#{meta.sndr},#{meta.rcvr},#{meta.seqn},#{meta.ddtm},#{meta.type},#{meta.styp},#{dflt.flid},#{dflt.ffid},#{dflt.fide}," +
            "#{dflt.fatt},#{dflt.stat},#{dflt.ista},#{dflt.pokt},#{dflt.msta},#{dflt.mist},#{dflt.mpok})")
    public int insertPoke(@Param("meta")Meta meta, @Param("dflt")DfmePokeDflt dflt);
}
